<template>
  <div ref="chart1" style="width:500px;height:400px;"></div>
</template>

<script>
import * as echarts from 'echarts';
export default {
  components: {},
  props: {},
  data() {
    return {
      option: {
        radar: {
          // shape: 'circle',
          indicator: [
            { name: "酒店口碑", max: 6500 },
            { name: "酒店装修", max: 16000 },
            { name: "酒店地理位置", max: 30000 },
            { name: "酒店楼层高度", max: 38000 },
            { name: "酒店品牌价值", max: 52000 },
            { name: "酒店安全性", max: 25000 },
          ],
        },
        series: [
          {
            name: "Budget vs spending",
            type: "radar",
            color:"orange",
            data: [
              {
                value: [4200, 3000, 20000, 35000, 50000, 18000],
                name: "Allocated Budget",
              }
            ],
          },
        ],
      },
    };
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {
    let myChart = echarts.init(this.$refs.chart1);
    myChart.setOption(this.option);
  },
};
</script>
<style scoped>
</style>